Skip to content

bryanperris/cor64

Repository files navigation

cor64

C# based N64 Emulator

This is a work-in-progress freetime project

Debugging

  • When hex dumping a rom, the program code (after the IPL) always starts 0x1000 in the file normally

Development

What you need

  • .NET Framework / Mono
  • .NET Core 3.x or higher
  • For Linux: GLFW devel libraries

Required Global DotNet Tools

  • Paket
  • nuke.globaltool

Build and Run $ nuke Run

Run Unit Tests $ nuke Test [--filter ] [--debug-test]

CppSharp support for Ubuntu 18.04

  • Must have dotnet runtime 3.1 insalled
git clone https://github.com/InteropAlliance/premake-core/
cd premake-core
make -f Bootstrap.mak linux
cd ..
git clone --recursive https://github.com/mono/CppSharp.git
cd CppSharp
git checkout 1.0.1
cd build
cp -r ../../premake-core/bin/release/* premake/
./build.sh clone_llvm
./build.sh build_llvm
./build.sh package_llvm
./build.sh generate -configuration Release -platform x64
./build.sh -configuration Release -platform x64

GlideN64 Crashing

  • Make sure font file /usr/share/fonts/truetype/freefont/FreeSans.ttf exists

Now add the generated library to your ld configuration or use LD_LIBRARY_PATH

References

Alt text Alt text Alt text Alt text